/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.powerhua.xsys.workflow.dao;

import com.powerhua.xsys.workflow.domain.WorkflowDefinition;
import com.powerhua.xsys.workflow.domain.WorkflowForm;
import com.powerhua.xsys.workflow.domain.WorkflowFormContent;
import java.util.List;

/**
 *
 * @author Brian.Xie
 */
public interface IWorkflowDao {
    
    public List<WorkflowDefinition> getAllWorkflowDefs();
    
    public int saveWorkflowDef(WorkflowDefinition workflowDef);
    
    public List<WorkflowForm> getAllWorkflowForms();
    
    public int saveWorkflowForm(WorkflowForm workflowForm);
    
    public int setWorkflowForm(String formId, WorkflowFormContent workflowFormContent);

}
